<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.tomaer.platform.framework.sh.security.core.common.utils.AuditUtil" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
	if(AuditUtil.getUser() != null){
		request.getRequestDispatcher(basePath+ "oslog-admin/main.jsp").forward(request,response);
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Log In</title>
	<link rel='stylesheet' id='login-css'  href='http://www.tomaer.com/wp-admin/css/login.css?ver=20110610' type='text/css' media='all' />
	<link rel='stylesheet' id='colors-fresh-css'  href='http://www.tomaer.com/wp-admin/css/colors-fresh.css?ver=20110703' type='text/css' media='all' />
	<meta name='robots' content='noindex,nofollow' />
</head>
<body class="login">
	<div id="login">
		<h1><a href="http://wordpress.org/" title="Powered by WordPress">Coder</a></h1>
		<form method="post" name="loginform" id="loginform" action="<%=request.getContextPath()%>/j_security_check" >
			<p>
				<label>Username<br />
				<input type="text" name="j_username" id="user_login" class="input" value="" size="20" tabindex="10" /></label>
			</p>
			<p>
				<label>Password<br />
				<input type="password" name="j_password" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
			</p>
			<p class="submit">
				<input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="Log In" tabindex="100" />
			</p>
		</form>
		<p id="nav">
			<a href="http://www.tomaer.com/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a>
		</p>
	</div>
</body>
</html>